<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Edit Student</title>
</head>
<body>
<h2>Edit Student</h2>
<form action="/student/update" method="post">
    <input type="hidden" name="id" th:value="${student.id}">
    <div>
        <label>Name:</label>
        <input type="text" name="name" th:value="${student.name}">
    </div>
    <div>
        <label>Age:</label>
        <input type="number" name="age" th:value="${student.age}">
    </div>
    <div>
        <label>Tel:</label>
        <input type="text" name="tel" th:value="${student.tel}">
    </div>
    <input type="submit" value="Update">
</form>
</body>
</html>